﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using NakedObjects;

namespace RTC.Modelo.Entidades
{
    [DisplayName("Pais")]
    public class Pais: Entidad
    {
        [Hidden]
        public virtual int Id { set; get; }

        [Title, MemberOrder(10),DisplayName("Pais")]
        public virtual String Nombre { set; get; }

        [Hidden, Disabled, DisplayName("Fecha Modificacion")]
        public virtual DateTime ModifiedDate { get; set; }

        public string IconName()
        {
            return "globe.png";
        }


        [Hidden]
        protected override void SetModifiedDate()
        {
            ModifiedDate = DateTime.Now;
        }

    }
}
